package com.qinghua.health_project.enums;

import com.fwcloud.common.web.wrapper.IReturnCode;

/**
 * @author LiuQinghua
 * @date 2023/2/8 11:13
 */
public enum MyReturnCode implements IReturnCode {
    /**
     * 删除检查项失败返回
     */
    DELETE_CHECK_ITEM_FAIL("delete check item fail", "删除检查项失败","E10010");
    //TODO:待完善
    private final String message;
    private final String messageZn;
    private final String code;

    MyReturnCode(String message, String messageZn, String code) {
        this.message = message;
        this.messageZn = messageZn;
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    @Override
    public String getMessageZn() {
        return messageZn;
    }

    @Override
    public String getCode() {
        return code;
    }

}
